package com.fjec.activity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 007.秒杀活动参与条件表
 * </p>
 *
 * @author admin
 * @since 2020-09-18
 */
@TableName("biz_activity_seckill_condition")
@Data
public class BizActivitySeckillCondition implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键Id
     */
    @TableId("Id")
    private Long id;

    /**
     * 市场编码
     */
    @TableField("MarkCode")
    private Integer markCode;

    /**
     * 参与角色 果农=1
分拣厂=2
农资厂=4
包装厂=8
采购商=16
     */
    @TableField("PartInRoles")
    private Integer partInRoles;

    /**
     * 创建时间
     */
    @TableField("CreateTime")
    private LocalDateTime createTime;

    @Override
    public String toString() {
        return "BizActivitySeckillCondition{" +
            "id=" + id +
            ", markCode=" + markCode +
            ", partInRoles=" + partInRoles +
            ", createTime=" + createTime +
        "}";
    }
}
